package cn.codergege.demo.controller

import cn.codergege.demo.service.PersonService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping

@RequestMapping("/bs")
@Controller
class BootstrapController {
    @Autowired
    lateinit var personService: PersonService

    @GetMapping("/demo")
    fun demoPage(): String {
        return "bootstrap/demo"
    }
}